#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:homework1_5.py
# author:wmf
# datetime:2021/3/14 19:35
# software: PyCharm
'''
this is function description
'''
# import module your need

#5  使用random模块，生成随机数，来初始化一个列表，元组；
#    使用了 random 模块的 randint() 函数来生成随机数，查询一下相关函数的用法；

from random import randint

list1 = [randint(0,100) for _ in range(10)]
print(type(list1))
print(list1)

tuple1 = (randint(0,100) for _ in range(10))
tuple1 = tuple(tuple1)
print(type(tuple1))
print(tuple1)


